package com.work.cos.mapper.msg;

import com.work.cos.domain.entity.msg.MsgTypeEntity;

import java.util.List;

/**
 * Created by intel on 2018/3/30.
 */

public interface IMsgTypeMapper {

	/**
    *
    * @return
    */
   List<MsgTypeEntity> getAll();
   
   /**
   *
   * @return
   */
  List<MsgTypeEntity> getAllByIsDel(int isDel);

   /**
    *
    * @param id
    * @return
    */
   MsgTypeEntity getOne(Long id);

   /**
    *
    * @param entity
    */
   void insert(MsgTypeEntity entity);

   /**
    *
    * @param user
    */
   void update(MsgTypeEntity entity);

   /**
    *
    * @param id
    */
   void delete(Long id);
}
